The condition elements are used by the <when> element to identify when the current rule will be applied. A condition rule is satisfied if all the specified attributes match the matching element of the XDD file:
<table> condition is satisfied if all attributes specified in the rule condition matches the <table> tag of the XDD file.
<schema> condition is satisfied if all attributes specified in the rule condition matches the <schema> tag of the XDD file.
<field> condition is satisfied if all attributes specified in the rule condition matches the <field> tag of the XDD file.
The condition elements are mutually exclusive and contain the attributes of the element with the same name as the XDD file.
If more condition elements are specified the current rule will be applied if all the conditions are satisfied:
<table> used to describe a condition to verify on the <table> element of the XDD file.
<schema> used to describe a condition to verify on all the <schema> elements of the XDD file.
<field> used to describe a condition to verify on all the <field> elements (children of the <schema> element element) of the XDD file.
<XFDrules>
<rule>
<when>
<"Condition">
</"Condition">
</when>
</rule>
</XFDrules>
Attibutes
For <table> condition element attributes refer to the attributes list of the <table> element of the XDD file.
For <schema> condition element attributes refer to the attributes list of the <schema> element of the XDD file.
For <field> condition element attributes refer to the attributes list of the <field> element (children of the <schema> element element) of the XDD file.